package com.nacoslab.actuator.properties;

import com.alibaba.nacos.api.config.ConfigType;
import com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@NacosConfigurationProperties(dataId = "${nacos.config.child-id}", type = ConfigType.YAML, autoRefreshed = true)
public class PropertiesConfig {

    private String prop;

    public String getProp() {
        return prop;
    }

    public PropertiesConfig setProp(String prop) {
        this.prop = prop;
        return this;
    }
}
